a = [
    {
        "name": "Accept",
        "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
    },
    {
        "name": "Accept-Encoding",
        "value": "gzip, deflate, br"
    },
    {
        "name": "Accept-Language",
        "value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
    },
    {
        "name": "Cache-Control",
        "value": "max-age=0"
    },
    {
        "name": "Connection",
        "value": "keep-alive"
    },
    {
        "name": "Cookie",
        "value": "pid=jEuNTIuMTY2LjE2MDIwMjEwMzA5MDg0ODIzNDkyMjAwOTI0NTEN; webp=t; __pd=1f0a79mi66c5; sf_img=AM; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22fKkTZNSunDrL_00%22%2C%22first_id%22%3A%221781474daa223b-0eeec902869294-4c3f227c-2073600-1781474daa37ee%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22%24device_id%22%3A%221781474daa223b-0eeec902869294-4c3f227c-2073600-1781474daa37ee%22%7D; _kwd=29tX35oYW5nemhvdQY; _skwd=29tX35Eb29yIExvY2t+ISxjb21ffk5haWx+ISxjb21fflNvZmEgTGVnY; lg_name=9c0584a3e5b0f85a; lg=BqYmgCRd3wTgO8IESEMUhg==~@~G/0u06gnLeJAOY1eiFx9tQ==~@~RKPe/Mr+QzetBJyta6s0fYWpvSsBqi8a~@~RKPe/Mr+Qze5fuE4pNs5Xm3rJj8+S3eB3gvnce1sIHk=~@~+33WzMDTESdWG/XW82n6wA==~@~; JSESSIONID=500EE3C849B8C431E61540DCCD7C3B7E; se=jEuNTIuMTY2LjE2MDIwMjEwMzExMTMxODE5ODM3Mzk2NDI4NAN; dpr=1; cid=jAyMTAzMTExMzI0MTQ5ODYwMDA6MDk0NjMzNjAzMzE1OTk2ODk3NQM; sid=jI1NTUxNTU1MDk0NTkyMjc6NjEuNTIuMTY2LjE2MDoxNzQ1NzkzMTgyOjAwM; CPID=IfV+VFOxz8lzH+NvGOEglqQJvBixEYzv; LVT=E82arhsLv2t/OvoXnT5iBVO4b5TPsc4I; LOGT=PnL5ncpdP+OpdVjacFy/XQx23oVHOOJ9; loginSource=1; wel_name=2FvZ; cbid=Tc0NTc5MzE4MjowMAM"
    },
    {
        "name": "Host",
        "value": "www.made-in-china.com"
    },
    {
        "name": "TE",
        "value": "Trailers"
    },
    {
        "name": "Upgrade-Insecure-Requests",
        "value": "1"
    },
    {
        "name": "User-Agent",
        "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0"
    }
]
header = {}
for i in a:
    header[i['name']] = i['value']

print(header)
